import Duck from 'extensible-duck'
import produce from 'immer'

export default new Duck({
  namespace: 'admin',
  store: 'auth0',
  types: ['SHOW', 'LOGOUT'],
  initialState: { activeTab: 'overview', activeDataset: undefined },
  reducer: produce((draft, action, duck) => {}),
  selectors: {},
  creators: duck => ({
    actionShow: value => ({ type: duck.types.SHOW, value }),
    actionLogout: value => ({ type: duck.types.LOGOUT, value }),
  }),
})
